package com.ruoyi.web.pgci.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.models.auth.In;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author yyq
 * @create 2023-11-12
 * @description 船员课程学习记录对象 pgci_sailors_course_learn_record
 */
@Data
public class PgciSailorsCourseLearnRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户ID */
    private String userId;

    /** 课程ID */
    private Long courseId;

    /** 课程学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime learnDate;

    /** 1、（课程必学，按要求完成）Required activity - Approved - the date it was last done/approved

     2、（课程必学，超时完成）Required activity - Outdated - the date it was last done/approved/disapproved

     3、（课程必学，未完成）Required activity - Pending - it has not been done

     4、（课程非必学，按要求完成了课程）Not required activity - Approved - the date it was last done/approved

     5、（课程非必学，未完成）Not required activity - it has not been done */
    private Integer completeStatus;

    /** 标记的颜色 */
    private String markColor;

    /** 单元格颜色 */
    private String cellValue;

}
